/**
 * Filename: YNMusic.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/5/8 13:39
 */
package com.github.postsanf.yinian.bean;
/**
 * 忆年音乐类
 */
public class YNMusic extends BaseBean
{
    private int     musicID;										// ID
    private String  musicName;                                      // 音乐名称
    private int     musicTempletID;                                 // 音乐时长
    private String  musicUrl;									    // 音乐地址

    public int getMusicID() {
        return musicID;
    }

    public void setMusicID(int musicID) {
        this.musicID = musicID;
    }

    public String getMusicName() {
        return musicName;
    }

    public void setMusicName(String musicName) {
        this.musicName = musicName;
    }

    public int getMusicTempletID() {
        return musicTempletID;
    }

    public void setMusicTempletID(int musicTempletID) {
        this.musicTempletID = musicTempletID;
    }

    public String getMusicUrl() {
        return musicUrl;
    }

    public void setMusicUrl(String musicUrl) {
        this.musicUrl = musicUrl;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNMusic) {
            return this.musicID == ((YNMusic) o).musicID;
        }
        return super.equals(o);
    }
}
